﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Information.aspx.cs" Inherits="SimplePaginationDemo.Information" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>分页</title>
   <style>
       *{
           padding:0;
           margin:0;
       }
       #dpage{
           width:500px;
           height:40px;
          font-size:12px;
           color:white;
       }
       #dpage div a{
           margin-right:10px;
           display:block;
           width:80px;
           height:40px;
           float:left;
           background-color:#47b271;
           text-decoration:none;
           color:white;
           line-height:40px;
           text-align:center;
           border-radius:5%;

       }
       #dpage .ddisable a{
           background-color:#75ba90;
       }
   </style>
</head>
 
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="teacherno" HeaderText="teacherno" />
                <asp:BoundField DataField="tname" HeaderText="tname" />
                <asp:BoundField DataField="major" HeaderText="major" />
                <asp:BoundField DataField="prof" HeaderText="prof" />
                <asp:BoundField DataField="department" HeaderText="department" />
            </Columns>
        </asp:GridView>

    </div>
        <%=GetPagination() %>
    </form>
</body>
</html>
